/**

This file is part of MaCI/GIMnet.

MaCI/GIMnet is free software: you can redistribute it and/or modify it 
under the terms of the GNU Lesser General Public License as published 
by the Free Software Foundation, either version 3 of the License, or 
(at your option) any later version.

MaCI/GIMnet is distributed in the hope that it will be useful, but WITHOUT 
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public 
License for more details.

You should have received a copy of the GNU Lesser General Public 
License along with GIMnet. (See COPYING.LESSER) If not, see 
<http://www.gnu.org/licenses/>.

**/
/**
*  \class	TLine
*  \author 	Jari Saarinen
*  \date 	Fri Jun 16 12:26:24 2006
*
*	This class represents the line with endpoints and with lineparams. 
*	The class is a "wrapper" to former TLine data structure in linelib.
*	The parameters are public and therefor the direct usage is not recommented.
*	Use the CLine Class to make the implementations.
*  \version: 0.1  
*/

#ifndef T_LINE_H
#define T_LINE_H

#include "TLineParam.h"

class TLine
{
private: 
	
public:
		
	float x1;		// Starting point x-coord
	float x2;		// ending point x-coord
	float y1;		// Starting point y-coord
	float y2;		// ending point y-coord
	TLineParam p;	// The lineparameters

	TLine();
	TLine(float x1, float y1, float x2, float y2);
	void initTLine(float x1, float y1, float x2, float y2);
	~TLine();
};          


#endif


